import math
a = -1
b = -2
c = 3
#计算一元二次方程的解
x1 = (-b + math.sqrt(b**2 - 4*a*c))/(2*a)
x2 = (-b - math.sqrt(b**2 - 4*a*c))/(2*a)
print(x1)
print(x2)
